﻿using System;
using YunZuan.Models.Attributes;
using YunZuan.Models.Entities;

namespace YunZuan.Models.Supplier
{
    [Table(TableName = "yz_supplier_white", PrimaryKey = "ID")]
    public class SupplierWhite : BaseEntity
    {
        public SupplierWhite()
        { }
        #region Model
        private int _id;
        /// <summary>
        ///ID
        /// </summary>
        [Column(IsAutoIncrement = true)]
        public int ID
        {
            get { return _id; }
            set { this.ChangeNotify<int>("ID", value, ref _id); }
        }
        private string _supplier_name;
        /// <summary>
        ///供应商名称
        /// </summary>
        public string Supplier_Name
        {
            get { return _supplier_name; }
            set { this.ChangeNotify<string>("Supplier_Name", value, ref _supplier_name); }
        }
        private string _supplier_short_name;
        /// <summary>
        ///供应商简称
        /// </summary>
        public string Supplier_Short_Name
        {
            get { return _supplier_short_name; }
            set { this.ChangeNotify<string>("Supplier_Short_Name", value, ref _supplier_short_name); }
        }
        private string _supplier_full_name;
        /// <summary>
        ///供应商全称
        /// </summary>
        public string Supplier_Full_Name
        {
            get { return _supplier_full_name; }
            set { this.ChangeNotify<string>("Supplier_Full_Name", value, ref _supplier_full_name); }
        }
        private int? _stocks = 0;
        /// <summary>
        ///0表示没货，1表示有
        /// </summary>
        public int? stocks
        {
            get { return _stocks; }
            set { this.ChangeNotify<int?>("stocks", value, ref _stocks); }
        }
        private int? _parcels = 0;
        /// <summary>
        ///0表示没货，1表示有
        /// </summary>
        public int? parcels
        {
            get { return _parcels; }
            set { this.ChangeNotify<int?>("parcels", value, ref _parcels); }
        }
        private int? _inlays = 0;
        /// <summary>
        ///0表示没货，1表示有
        /// </summary>
        public int? inlays
        {
            get { return _inlays; }
            set { this.ChangeNotify<int?>("inlays", value, ref _inlays); }
        }
        private int? _emeralds = 0;
        /// <summary>
        ///0表示没货，1表示有
        /// </summary>
        public int? emeralds
        {
            get { return _emeralds; }
            set { this.ChangeNotify<int?>("emeralds", value, ref _emeralds); }
        }
        private int? _gems = 0;
        /// <summary>
        ///0表示没货，1表示有
        /// </summary>
        public int? gems
        {
            get { return _gems; }
            set { this.ChangeNotify<int?>("gems", value, ref _gems); }
        }
        private int? _prime_golds = 0;
        /// <summary>
        ///0表示没货，1表示有
        /// </summary>
        public int? prime_golds
        {
            get { return _prime_golds; }
            set { this.ChangeNotify<int?>("prime_golds", value, ref _prime_golds); }
        }
        private int? _inlay_settings = 0;
        /// <summary>
        ///0表示没货，1表示有
        /// </summary>
        public int? inlay_settings
        {
            get { return _inlay_settings; }
            set { this.ChangeNotify<int?>("inlay_settings", value, ref _inlay_settings); }
        }
        private DateTime _modifytime;
        /// <summary>
        ///修改时间
        /// </summary>
        public DateTime ModifyTime
        {
            get { return _modifytime; }
            set { this.ChangeNotify<DateTime>("ModifyTime", value, ref _modifytime); }
        }
        #endregion

    }
}
